package com.bmw.blog.service;

import com.bmw.blog.mapper.blog.BlogMapper;
import com.bmw.blog.model.Blog;
//import com.bmw.blog.model.Bmw_vi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Administrator on 2018/11/26.
 */
@Service
public class BlogService {

    @Autowired
    BlogMapper blogMapper;

    /**
     * 查询房屋列表
     * */
    @Transactional
    public List<Blog> blogList(Integer id){
        return blogMapper.blogList(id);
    };

//    public List<Bmw_vi> getBmwVi(){
//        return blogMapper.getBmwVi();
//    }

}
